#include "footprint.h"
#include <cmath>

namespace Splatit {
	
	double Footprint::calculate(unsigned int _x,unsigned int _y,unsigned int _x0,unsigned int _y0) {
	double a,b,c; a=b=c=1.0;
	double A=1.0;
	return (sqrt(M_PI) * A * c * exp( ((_y0-_y)*(_y0-_y))/(b*b) + ((_x0-_x)*(_x0-_x))/(a*a) ))/(2.0*sqrt(log(exp(1))));
}

}
